package org.csc.sss.ui;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan;

@Slf4j
@SpringBootApplication
@ComponentScan({"org.csc.sss"})
public class UiAppplication extends SpringBootServletInitializer {

	public static void main(String[] args) {
		SpringApplication.run(UiAppplication.class, args);
		log.info("【ui项目启动成功......】");
	}

	@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
		return builder.sources(UiAppplication.class);
	}
}


